package com.imti.mall.sale.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.mall.model.sms.pojo.SmsHomeBrand;
import com.imti.mall.sale.mapper.SmsHomeBrandMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.jdbc.SQL;

import java.util.List;

@Mapper
public interface SmsHomeBrandDao extends BaseMapper<SmsHomeBrand> {
    /**
     * 查询品牌推荐列表
     */
    @SelectProvider(type= SmsHomeBrandMapper.class,method = "findBrand")
    public List<SmsHomeBrand> findBrand (SmsHomeBrand smsHomeBrand);

    /**
     * 修改品牌推荐
     * @param smsHomeBrand
     * @return
     */
    @UpdateProvider(type= SmsHomeBrandMapper.class,method = "updateSmsHomeBrand")
    public Integer updateSmsHomeBrand(SmsHomeBrand smsHomeBrand);







}
